package com.clkj.aimin.pojo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 */
@ApiModel( value ="t_cl_userType" )
@Table( name ="t_cl_userType" )
public class UserType  implements Serializable {

    @Id
   	@Column(name = "type_id",updatable = false )
	@ApiModelProperty( value="null")
	private Integer typeId;

	/**
	 * 邀请码
	 */
   	@Column(name = "type_code" )
	@ApiModelProperty( value="邀请码")
	private String typeCode;

	/**
	 * 用户身份
	 */
   	@Column(name = "user_type" )
	@ApiModelProperty( value="用户身份")
	private Integer userType;

	/**
	 * 是否使用
	 */
   	@Column(name = "is_used" )
	@ApiModelProperty( value="是否使用")
	private Integer isUsed;

  public Integer getTypeId() {
    return typeId;
  }

  public void setTypeId(Integer typeId) {
    this.typeId = typeId;
  }


  public String getTypeCode() {
    return typeCode;
  }

  public void setTypeCode(String typeCode) {
    this.typeCode = typeCode;
  }


  public Integer getUserType() {
    return userType;
  }

  public void setUserType(Integer userType) {
    this.userType = userType;
  }


  public Integer getIsUsed() {
    return isUsed;
  }

  public void setIsUsed(Integer isUsed) {
    this.isUsed = isUsed;
  }

}
